package com.example.wechat.service.impl;

import com.example.wechat.dao.UserMapper;
import com.example.wechat.pojo.User;
import com.example.wechat.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: wechat
 * @description:
 * @author: zhiyu yang
 * @create: 2020-03-06 12:43
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public List<User> selAllUser() {
        return userMapper.selAllUser();
    }
}
